package com.erp.freight.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.erp.freight.domain.kjx.InventoryRequest;
import com.erp.freight.domain.kjx.KjxReplenishment;
import com.erp.freight.domain.kjx.KjxStockProduct;
import com.erp.freight.domain.kjx.KjxStoreQueryParam;

import java.util.Map;

public interface KjxLogisticsService {

    /**
     * 提交订单+打包
     * @param orderId
     * @return
     */
    String submitOrderAndPack(Long orderId);

    /**
     * 根据订单ID（kjxOrderIds）获取订单详情
     */
    String getOrderDetail(Map<String,Object> idss);

    /**
     * 获取库存
     */
    public Page<KjxStockProduct> storeProductList(KjxStoreQueryParam param);

    String getKjxStoreInfo();

    /**
     * 获取仓库地址列表
     */
    String rechargeAndAdditionalServiceList(String account);

    /**
     * 库存申请
     */
    void inventoryRequest(InventoryRequest request);

    /**
     * 补仓
     */
    void replenishment(KjxReplenishment replenishment);
}
